package top.linuyx.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.linuyx.pojo.entity.CommodityImageEntity;
import top.linuyx.pojo.vo.QueryProductsVO;

import java.util.List;

/**
 * @Author Cucumber
 * @Description：从数据库中查出所有的商品信息和商品对应的图片信息
 * @Date Created in 2021-04-09 9:04
 */
@Mapper
@Repository
public interface QueryProductsMapper {

    List<QueryProductsVO> getProducts();

    List<CommodityImageEntity> listImage();

}
